import request from '@/utils/request'

// 电子章登记分页
export function getList(params) {
  return request({
    url: '/electronicRegistration/list',
    method: 'POST',
    params
  })
}

// 电子章登记添加
export function addElectronicRegistration(data) {
  return request({
    url: '/electronicRegistration/add',
    method: 'POST',
    data
  })
}

// 电子章登记查询
export function selectElectronicRegistration(params) {
  return request({
    url: '/electronicRegistration/load',
    method: 'POST',
    params
  })
}

// 电子章登记删除
export function deleteElectronicRegistration(data) {
  return request({
    url: '/electronicRegistration/delete',
    method: 'post',
    data
  })
}

// 电子章登记修改
export function updateElectronicRegistration(data) {
  return request({
    url: '/electronicRegistration/update',
    method: 'post',
    data
  })
}
